package selcoursesys.service.impl;

import selcoursesys.dao.SearchDao;
import selcoursesys.dao.impl.SearchDaoImpl;
import selcoursesys.entity.CourseEntity;
import selcoursesys.service.SearchService;

import java.util.List;

/**
 * Created by Lpbdz on 2017/4/11.
 */
public class SearchServiceImpl implements SearchService {
    public List<CourseEntity> searchInfo(String cid, String keyword,String term){
        SearchDao searchDao=new SearchDaoImpl();
        List<CourseEntity> list=searchDao.searchInfo(cid,keyword,term);
        return list;
    }
}
